<script type="text/javascript">
var editUrl = "./templates/admin_column_option.htm";

//objTable.debug = true;
objTable.setURL("./admin_column.asp");
objTable.dateVal = "action=";
objTable.action = "<a href='javascript:vod();' onclick='move($ID,\"up\");'>"+upColumnOrder+"</a>&nbsp;<a href='javascript:vod();' onclick='move($ID,\"down\");'>"+downColumnOrder+"</a>&nbsp;"+"<a href='javascript:vod();' onclick='edit($ID,editUrl);'>"+editStr+"</a>";
objTable.noneValue = "<br /><br />"+listEmpty+"<br /><br /><br />";
objTable.doResponseOther = "sw_help_topic_init()";

function initTabContent(){
	setTabTitle(currentTab, tabTitle[80]);
	objTable.start();
}

function move(iID,sAction){
	objForm.postUrl = "./admin_column.asp";
	objForm.dateVal = "action="+sAction+"&ID="+iID;
	objForm.doResponseMethod = getStatePostResult;
	objForm.ajaxPost();
}

function resetColumn(){
	var flag = window.confirm(resetColumnWarning);
	
	if (flag)
	{
		objForm.postUrl = "./admin_column.asp";
		objForm.dateVal = "action=reset";
		objForm.doResponseMethod = getStatePostResult;
		objForm.ajaxPost();
	}
	return false;
}
</script>
<form id="form1" name="form1" method="get" onsubmit="return false;">

<div class="mainWindows">
	<div>
		<fieldset><legend><span id="help_topic_icon" onclick="sw_help_topic();"><span id="Language_OperationNotice"></span></span></legend>
        <div id="help_topic"><span id="Language_Column_Help"></span></div>
        </fieldset>
	</div>

	<div style="margin-top: 5px;">
		<table width="100%" id="listTable">
		  <tr>
			<th style="width: 5px;"><input name="chkall" type="checkbox" value="on" onclick="CheckAll(document.form1,this);" /></th>
			<th>ID</th>
			<th><span id="Language_Column_Title"></span></th>
			<th><span id="Language_Column_ManagerArticleTotal"></span>/<span id="Language_Column_ArticleTotal"></span></th>
			<th><span id="Language_Comm_Bar_Operation"></span></th>
		  </tr>
		</table>
		<div style="BACKGROUND: #efefef;height:25px;">
			<div id="opBar" style="float: left;width:50%;">&nbsp;<input type="button" id="Comm_Add_Operation" onclick="javascript:ajaxChangeRightContent('./templates/admin_column_option.htm','pageAdd');" />&nbsp;<input type="button" id="Comm_Del_Operation" onclick="javascript:del('./admin_column.asp');" />&nbsp;<input type="button" id="Language_Column_ResetBoard" onclick="javascript:resetColumn();" /></div>
		</div>
	</div>
</div>

</form>